﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Biblioteca.Logica_Negocio.Domain_Model
{
    [Table("Temas")]
    public class Tema
    {

        public Tema()
        {
        }

        public Tema(int id, string nombre)
        {

            this.Id = id;
            this.Nombre = nombre;

        }

        public int Id { get; protected set; }

        public string Nombre { get; protected set; }

        public virtual ICollection<Material> Materiales { get; protected set; }
    }
}